<template>
  <van-nav-bar :title="title" fixed left-arrow @click-left="$router.back()" />
</template>

<script>
export default {
  name: 'nav-bar',
  props: ['title']
}
</script>

<style lang="less" scoped>
.van-nav-bar {
  z-index: 999999;
}
/deep/.van-nav-bar__title {
  font-weight: bold;
  color: #555;
  font-size: 18px;
}

/deep/.van-icon {
  font-size: 20px;
  font-weight: bold;
}
</style>
